<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<title></title>
<base href="<%=basePath%>">
<meta charset="UTF-8">
	<link rel="stylesheet" type="text/css" href="bootstrap-rs/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="bootstrap-rs/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="bootstrap-rs/demo.css">
	<script type="text/javascript" src="bootstrap-rs/jquery.min.js"></script>
	<script type="text/javascript" src="bootstrap-rs/jquery.easyui.min.js"></script>

<style type="text/css">
body {
	padding-bottom: 40px;
}

.sidebar-nav {
	padding: 9px 0;
}

@media ( max-width : 980px) {
	/* Enable use of floated navbar text */
	.navbar-text.pull-right {
		float: none;
		padding-left: 5px;
		padding-right: 5px;
	}
}
</style>
</head>
<body>
	<form action="sys/user/pwdChange" method="post" class="definewidth m20">
		<table class="table table-bordered table-hover m10">
				<tr>
				<td>
				<input type="hidden" name="user.nUserid" value="${own.user.nUserid}"/>
				</td>
				</tr>
			<tr>
				<td class="tableleft">原密码</td>
				<td><input type="password" name="pwd" />${pwd }</td>
			</tr>
			<tr>
				<td class="tableleft">新密码</td>
				<td><input type="password" name="npwd" /></td>
			</tr>
			<tr>
				<td class="tableleft">确认密码</td>
				<td><input type="password" name="epwd" />${mes }</td>
			</tr>

			<tr>
				<td class="tableleft"></td>
				<td>
					<button type="submit" class="btn btn-primary" type="button">修改</button>
					&nbsp;&nbsp;
					<button type="button" class="btn btn-success" name="backid"
						id="backid">返回</button>
				</td>
			</tr>
		</table>
	</form>
</body>
<script type="text/javascript">
	$(function() {
		$('#backid').click(function() {
			window.location.href = "sys/user/query";
		});

	});
</script>
</html>
